<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8" />
    <link rel="apple-touch-icon" sizes="76x76" href="{_INDEX_STATIC_}/moban/assets/img/apple-icon.png">
    <link rel="icon" type="image/png" href="{_INDEX_STATIC_}/moban/assets/img/favicon.png">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <title>首页 | {$system_name}</title>
    <meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink-to-fit=no'
        name='viewport' />
    <link href="{_INDEX_STATIC_}/moban/assets/css/bootstrap.min.css" rel="stylesheet" />
    <link href="{_INDEX_STATIC_}/moban/assets/css/now-ui-kit.css?v=1.1.0" rel="stylesheet" />
</head>

<body class="index-page sidebar-collapse">

    <!-- 引入导航栏 -->
    {include file='public/header'}

    <div class="container">
        <div class="row" style="margin-top: 20px;min-height: 435px;">
            {volist name="notice_data" id="row" key="i"}
            <div class="col-md-12">
                <div class="alert" role="alert" style="background-color: rgb(172, 184, 248);border-radius: 10px;">
                    <a href="{:url('index/notice')}?nid={$row.id}" style="color: white;">
                        <div style="color: black;">
                            {$i}. {$row.title}
                            <div style="float: right;">
                                {$row.update_time | date='Y-m-d'}
                            </div>
                        </div>

                    </a>
                </div>
            </div>
            {/volist}
        </div>

        <div class="row">
            <!-- 引入分页 -->
            {include file='public/page_2'}
        </div>

    </div>

    <!-- 引入页脚 -->
    {include file='public/footer'}
    <script>

        // $('#edit').html(HTMLDecode("{notice_data.content}"));

        function HTMLDecode(text) {
            var temp = document.createElement("div");
            temp.innerHTML = text;
            var output = temp.innerText || temp.textContent;
            temp = null;
            return output;
        }
    </script>
</body>

</html>